FileChooserButton: Document the CSS nodes & class
authorDaniel Boles <dboles.src@gmail.com>
Thu, 20 Jun 2019 19:51:37 +0000 (20:51 +0100)
committerDaniel Boles <dboles.src@gmail.com>
Thu, 20 Jun 2019 19:51:37 +0000 (20:51 +0100)
The only glancing mention of this we had was that GtkButton mentioned it
in passing when discussing how `button` could get contextual classes,
and even that's not relevant in master anymore... so drop it from there.

gtk/gtkbutton.c
gtk/gtkfilechooserbutton.c

index 3b701d9959ed7483d97745cb4839fde1e792469a..d428814dd1108b6abbbd6fe40bf12d6c5ae04ab7 100644 (file)
@@ -46,8 +46,8 @@
  * can be made round by adding the .circular style class.
  *
  * Button-like widgets like #GtkToggleButton, #GtkMenuButton, #GtkVolumeButton,
- * #GtkLockButton, #GtkColorButton, #GtkFontButton or #GtkFileChooserButton use
- * style classes such as .toggle, .popup, .scale, .lock, .color, .file
+ * #GtkLockButton, #GtkColorButton or #GtkFontButton use style classes such as
+ * .toggle, .popup, .scale, .lock, .color on the button node
  * to differentiate themselves from a plain GtkButton.
  */
 
index 73b6910299c8020318ad06588c17825771533626..2197e39615feb5d7ba79f33b1e351fad4cb510a9 100644 (file)
  * > gtk_file_chooser_button_set_width_chars(), or pack the button in
  * > such a way that other interface elements give space to the
  * > widget.
+ *
+ * # CSS nodes
+ *
+ * GtkFileChooserButton has a single CSS node with the name “filechooserbutton”.
  */